package vip.xiaomaoxiaoke.msg.repository;

import java.util.List;


public interface LocalMessageRepository {
    void save(LocalMessageTable message);

    void update(LocalMessageTable message);

    default List<LocalMessageTable> loadNotSuccessByUpdateGt(int size)  {
        return loadNotSuccessByUpdateGt(0,size);
    }
    List<LocalMessageTable> loadNotSuccessByUpdateGt(long id,int size);
}
